package com.ipfsemc.ipfsemc.util;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "响应数据",description = "响应信息")
public class ResponseBase {

    @ApiModelProperty(value = "响应码 0为成功    -1失败",example = "0")
    private Integer code=-1;

    @ApiModelProperty("响应信息")
    private String message="成功！";

}
